import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcon from '@element-plus/icons-vue'
import Router from './router'

const app = createApp(App)

for (let iconName in ElIcon) {
    app.component(iconName, ElIcon[iconName])
}
app.use(Router)
app.use(ElementPlus)
app.mount('#app')